@extends('admin.common.base-master')

@section('html-head')

@endsection

@section('html-body')
    <div id="content">
        <!-- cur-position start -->
        <div id="cur-position">
            <span class="tit">当前位置：</span>
            <a href="#">意见反馈</a>
        </div>

        <div class="filter-box clearfix">
        </div>
        <div class="table-box">
            <table class="table">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>用户id</th>
                    <th>反馈内容</th>
                    <th>联系方式</th>
                    <th>反馈时间</th>
                </tr>
                </thead>
                <tbody>
                @if(count($feedbacks) > 0)
                    @foreach($feedbacks as $feedback)
                        <tr id="feedback_{{$feedback->id}}">
                            <td>{{$feedback->id}}</td>
                            <td>{{$feedback->user_id}}</td>
                            <td>{{$feedback->content}}</td>
                            <td>{{$feedback->contact_way}}</td>
                            <td>{{$feedback->created_at}}</td>
                        </tr>
                    @endforeach
                @endif
                </tbody>
            </table>
        </div>
    </div>
@endsection